package com.yunkaweilai.android.model.integral;

import java.util.List;

/**
 * Created by Administrator on 2017/8/2.
 */

public class IntegralShopListModel {


    /**
     * loginCode : 1
     * code : 1
     * message : 成功
     * data : {"list":[{"id":"16","is_first":"1","store_id":"4","sub_store_id":"5","gift_name":"口红","category_id":"7","gift_sku":"LP2017070544","gift_code":"KH","points_price":"80","gift_stock":"19","use_gift_stock":"1","validity_start":"2017-07-05","validity_end":"2017-07-31","is_app":"1","remark":"","sort":"0","status":"1","create_id":"8","create_name":"admin","create_time":"1499224442","gift_category_name":"彩妆","is_expired":0,"is_edit":true}],"page":{"totalPages":1,"firstRow":0,"listRows":10,"count":"1","currpage":1,"next":false,"prev":false}}
     */

    private int loginCode;
    private int code;
    private String message;
    /**
     * list : [{"id":"16","is_first":"1","store_id":"4","sub_store_id":"5","gift_name":"口红","category_id":"7","gift_sku":"LP2017070544","gift_code":"KH","points_price":"80","gift_stock":"19","use_gift_stock":"1","validity_start":"2017-07-05","validity_end":"2017-07-31","is_app":"1","remark":"","sort":"0","status":"1","create_id":"8","create_name":"admin","create_time":"1499224442","gift_category_name":"彩妆","is_expired":0,"is_edit":true}]
     * page : {"totalPages":1,"firstRow":0,"listRows":10,"count":"1","currpage":1,"next":false,"prev":false}
     */

    private DataBean data;

    public int getLoginCode() {
        return loginCode;
    }

    public void setLoginCode(int loginCode) {
        this.loginCode = loginCode;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * totalPages : 1
         * firstRow : 0
         * listRows : 10
         * count : 1
         * currpage : 1
         * next : false
         * prev : false
         */

        private PageBean page;
        /**
         * id : 16
         * is_first : 1
         * store_id : 4
         * sub_store_id : 5
         * gift_name : 口红
         * category_id : 7
         * gift_sku : LP2017070544
         * gift_code : KH
         * points_price : 80
         * gift_stock : 19
         * use_gift_stock : 1
         * validity_start : 2017-07-05
         * validity_end : 2017-07-31
         * is_app : 1
         * remark :
         * sort : 0
         * status : 1
         * create_id : 8
         * create_name : admin
         * create_time : 1499224442
         * gift_category_name : 彩妆
         * is_expired : 0
         * is_edit : true
         */

        private List<IntegralGoodListModel> list;

        public PageBean getPage() {
            return page;
        }

        public void setPage(PageBean page) {
            this.page = page;
        }

        public List<IntegralGoodListModel> getList() {
            return list;
        }

        public void setList(List<IntegralGoodListModel> list) {
            this.list = list;
        }

        public static class PageBean {
            private int totalPages;
            private int firstRow;
            private int listRows;
            private String count;
            private int currpage;
            private boolean next;
            private boolean prev;

            public int getTotalPages() {
                return totalPages;
            }

            public void setTotalPages(int totalPages) {
                this.totalPages = totalPages;
            }

            public int getFirstRow() {
                return firstRow;
            }

            public void setFirstRow(int firstRow) {
                this.firstRow = firstRow;
            }

            public int getListRows() {
                return listRows;
            }

            public void setListRows(int listRows) {
                this.listRows = listRows;
            }

            public String getCount() {
                return count;
            }

            public void setCount(String count) {
                this.count = count;
            }

            public int getCurrpage() {
                return currpage;
            }

            public void setCurrpage(int currpage) {
                this.currpage = currpage;
            }

            public boolean isNext() {
                return next;
            }

            public void setNext(boolean next) {
                this.next = next;
            }

            public boolean isPrev() {
                return prev;
            }

            public void setPrev(boolean prev) {
                this.prev = prev;
            }
        }

    }
}
